package io.github.i678.namedutils.api.utils;

import io.github.i678.namedutils.NamedUtils;
import org.bukkit.configuration.file.FileConfiguration;

import java.util.List;

public class ConfigurationUtils {

    static FileConfiguration config = NamedUtils.getConfiguration();

    public static boolean getBoolean(String path) {
        return config.getBoolean(path);
    }

    public static String getString(String path) {
        return config.getString(path);
    }

    public static List<String> getStringList(String path) {
        return config.getStringList(path);
    }

}